<template>
  <button style="color: red" @click="this.$emit('click')">
    {{ title }}
  </button>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "按键默认内容",
    },
  },
  data() {
    return {};
  },
  methods: {},
};
</script>
<style>
</style>